f=open("input_txt","r")
read_strings=[]
while True:
    read_string=f.readline()
    if read_string=="":
        break
    else:
        read_strings.append(read_string)
i=0
for read_string in read_strings:
     i=i+1
     print(f"第{i}行",read_string)